<?php
    foreach($language as $lang){
?>
        <a href="javascript:void(0)" code="<?= $lang['lang_code'] ?>" class="language" style="float:left; margin-right:10px"><?= $lang['country'] ?></a>
<?php
    }
?>